<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.*" %>
<html>
<head>
    <title>JavaWeb上传支持</title>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    response.setCharacterEncoding("UTF-8");
    Scanner scan = new Scanner(request.getInputStream()); // 只是为了输出
    while (scan.hasNext()) {    // 迭代判断与输出
%>
        <p><%=scan.next()%></p>
<%
    }
%>
<h1>MIME = <%=request.getContentType()%></h1>
</body>
</html>
